enum dtype_general_return {
	TYPE(GENERAL)=0x240
};
enum subtype_general_return {
	SUBTYPE(GENERAL,INT)=0x1,
	SUBTYPE(GENERAL,UUID),
	SUBTYPE(GENERAL,BINDATA),
	SUBTYPE(GENERAL,STRING),
	SUBTYPE(GENERAL,STRING_ARRAY),
	SUBTYPE(GENERAL,RECORD),
	SUBTYPE(GENERAL,TIME_VAL)
};
typedef struct genera_return_int{
	char * name;
	int value;
}__attribute__((packed)) RECORD(GENERAL,INT);

typedef struct genera_return_uuid{
	char * name;
	BYTE value[32];
}__attribute__((packed)) RECORD(GENERAL,UUID);

typedef struct genera_return_bindata{
	char * name;
	int size;
	BYTE * bindata;
}__attribute__((packed)) RECORD(GENERAL,BINDATA);

typedef struct genera_return_string{
	char * name;
	char * value;
}__attribute__((packed)) RECORD(GENERAL,STRING);

typedef struct genera_return_stringarray{
	char * name;
	int num;
	char * array;
}__attribute__((packed)) RECORD(GENERAL,STRING_ARRAY);

typedef struct genera_return_record{
	char * name;
	int type;
	int subtype;
	int size;
	BYTE * blob;
}__attribute__((packed)) RECORD(GENERAL,RECORD);

typedef struct genera_return_time_val{
	char * name;
	unsigned int tv_sec;
    unsigned int tv_usec;
}__attribute__((packed)) RECORD(GENERAL,TIME_VAL);

